<div data-controller="invites">
  <div id="invites-bg" class="invites-bg">
    <div class="invites_input">
      <input type="text" id="reg_phone" name="phone" value="" placeholder="注册手机" />
      <input type="hidden" id="uid" name="uid" value="<%= @uid %>" />
    </div>
    <div data-action="click->invites#register" class="invites_button">
      <%= image_tag("invites_button.png") %>
    </div>
  </div>
  <div id="invites-success" class="invites-success"></div>
</div>